﻿/*Write a program that reads an integer
 * number n from the console and prints all the 
 * numbers in the interval [1..n], each on a single line.
*/

using System;

class PrintAllToN
{
    static void Main()
    {
        Console.Write("Input number: ");
        int number = Int32.Parse(Console.ReadLine());
        for (int i = 1; i <= number; i++)
        {
            Console.WriteLine(i);
        }
    }
}

